<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>中支机构列表界面</title>
  <link rel="stylesheet" th:href="@{/libs/css/jigou/organizationList.css}">
</head>
<body>
<div class="box-1">
  <div class="top">
    <a class="right btn btn-success" href="/geren/exited" >退出</a>
    <a class="right btn btn btn-success" href="/geren/toUpdatePassword">修改密码</a>
    <span th:text="${session.data.username}" class="right btn btn-success"></span>
  </div>
  <ul class="nav nav-pills nav-stacked left" style="border: 1px">

    <input type="hidden" id="role" th:value="${session.data.role}">
    <input type="hidden" id="username" th:value="${session.data.username}">

    <li class="role">
    </li>
    <li>
      <a href="/shuju/toDataList">查看数据</a>
    </li>
    <li>
      <a href="/jigou/toListOrganization">机构管理</a>
    </li>
    <li>
      <a href="/yonghu/toUserList">用户管理</a>
    </li>
    <li>
      <a href="#">修改密码</a>
    </li>
  </ul>
  <div class="right">
    <input type="hidden" id="listOrganization" th:value="@{/jigou/listOrganization}">
    <input type="hidden" id="getAreaForDelete" th:value="@{/jigou/getAreaForDelete}">
    <input type="hidden" id="deleteAreaById" th:value="@{/jigou/deleteAreaById}">
    <a href="toInsertArea" class="btn btn btn-success" >添加中支</a>
    <table class="table table-hover">
      <thead>
      <th>机构名称（中支）</th>
      <th>机构编号（中支）</th>
      <th>部门类型</th>
      <th>操作</th>
      </thead>
      <tbody id="list">
      </tbody>
    </table>
  </div>
</div>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">即将删除数据</h4>
      </div>
      <div class="modal-body" id="info">
        hello
      </div>
      <div class="modal-footer">
        <span id="yes">
          <button type="button" class="btn btn-primary">是</button>
        </span>

        <button type="button" class="btn btn-default" data-dismiss="modal">否</button>

      </div>
    </div>
  </div>
</div>
</body>

<!--   引入jquery-->
<!--<script th:src="@{/libs/js/jquery/jquery.min.js}"jquery></script>-->
<script src="https://src.axui.cn/src/js/jquery-1.10.2.min.js" type="text/javascript"></script>

<!--    bootstrap样式-->
<link rel="stylesheet" th:href="@{/libs/js/bootstrap-3.4.1-dist/css/bootstrap.min.css}">
<script th:src="@{/libs/js/bootstrap-3.4.1-dist/js/bootstrap.min.js}"></script>
<!--引入js-->
<script th:src="@{/libs/js/jigou/organizationList.js}" type="text/javascript"></script>


</html>